package com.qingmu.club.minaapi.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 俱乐部人员备注列表(中台)
 * </p>
 *
 * @author duke
 * @since 2019-12-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ClubStaffRemark extends Model<ClubStaffRemark> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 人员ID
     */
    private String staffId;

    /**
     * 备注内容
     */
    private String content;

    /**
     * 添加备注人员ID
     */
    private String createUser;

    /**
     * 添加时间
     */
    private Date createTime;

    /**
     * 添加备注人名称
     */
    private String createUserName;


    public static final String ID = "id";

    public static final String STAFF_ID = "staff_id";

    public static final String CONTENT = "content";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_USER_NAME = "create_user_name";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
